package com.ys.nms.module.business.enums;


import com.ys.nms.framework.common.exception.ErrorCode;

/**
 * System 错误码枚举类
 *
 * system 系统，使用 1-002-000-000 段
 */
public interface ErrorCodeConstants {
    ErrorCode DEVICES_NOT_EXISTS = new ErrorCode(1-002-666-001, "设备不存在");

    ErrorCode COMPANY_DEVICE_TYPE_NOT_EXISTS = new ErrorCode(1-002-666-002, "设备类型不存在");
    ErrorCode COMPANY_DEVICE_TYPE_EXITS_CHILDREN = new ErrorCode(1-002-666-003, "存在存在子设备类型，无法删除");
    ErrorCode COMPANY_DEVICE_TYPE_PARENT_NOT_EXITS = new ErrorCode(1-002-666-004,"父级设备类型不存在");
    ErrorCode COMPANY_DEVICE_TYPE_PARENT_ERROR = new ErrorCode(1-002-666-005, "不能设置自己为父设备类型");
    ErrorCode COMPANY_DEVICE_TYPE_NAME_DUPLICATE = new ErrorCode(1-002-666-006, "已经存在该类型名称的设备类型");
    ErrorCode COMPANY_DEVICE_TYPE_PARENT_IS_CHILD = new ErrorCode(1-002-666-007, "不能设置自己的子CompanyDeviceType为父CompanyDeviceType");

    ErrorCode COMPANY_AREA_NOT_EXISTS = new ErrorCode(1-002-666-108, "区域不存在");
    ErrorCode COMPANY_AREA_EXITS_CHILDREN = new ErrorCode(1-002-666-109, "存在存在子区域，无法删除");
    ErrorCode COMPANY_AREA_PARENT_NOT_EXITS = new ErrorCode(1-002-666-010,"父级区域不存在");
    ErrorCode COMPANY_AREA_PARENT_ERROR = new ErrorCode(1-002-666-011, "不能设置自己为父区域");
    ErrorCode COMPANY_AREA_NAME_DUPLICATE = new ErrorCode(1-002-666-012, "已经存在该区域名称的区域");
    ErrorCode COMPANY_AREA_PARENT_IS_CHILD = new ErrorCode(1-002-666-013, "不能设置自己的子CompanyArea为父CompanyArea");


    ErrorCode COMPANY_PROPERTY_NOT_EXISTS = new ErrorCode(1-002-666-014, "资产不存在");

    ErrorCode COMPANY_PROPERTY_ADD_FAILURE = new ErrorCode(1-002-666-015, "添加失败");


    ErrorCode PROCESSORS_NOT_EXISTS = new ErrorCode(1-002-666-016, "处理器不存在");


    ErrorCode STORAGE_NOT_EXISTS = new ErrorCode(1-002-666-017, "存储表不存在");


    ErrorCode MEMPOOLS_NOT_EXISTS = new ErrorCode(1-1-1-1-1, "内存不存在");


    ErrorCode ALERTS_NOT_EXISTS = new ErrorCode(1-1-1-1-2, "报警不存在");

    ErrorCode DEVICES_LOG_NOT_EXISTS = new ErrorCode(1-1-1-1-3, "设备日志不存在");

    ErrorCode SENSORS_NOT_EXISTS = new ErrorCode(1-1-1-1-4, "传感器不存在");

    ErrorCode PORTS_NOT_EXISTS = new ErrorCode(1-1-1-1-5, "端口不存在");

    ErrorCode IPV4_MAC_NOT_EXISTS = new ErrorCode(1-1-1-1-6, "IPMAC不存在");

    ErrorCode ROUTE_NOT_EXISTS = new ErrorCode(1-1-1-1-7, "路由不存在");

    ErrorCode VLANS_NOT_EXISTS = new ErrorCode(1-1-1-1-8, "vlans不存在");

    ErrorCode PORTS_VLANS_NOT_EXISTS = new ErrorCode(1-1-1-1-9, "ports_vlans不存在");

    ErrorCode LINKS_NOT_EXISTS = new ErrorCode(1-1-1-1-10, "路线-自动不存在");

    ErrorCode LINKS_MANUAL_NOT_EXISTS = new ErrorCode(1-1-1-1-11, "线路-手动不存在");

    ErrorCode IPV4_ADDRESSES_NOT_EXISTS = new ErrorCode(1-1-1-1-12, "IP地址不存在");

    ErrorCode ALERT_LOG_NOT_EXISTS = new ErrorCode(1-1-1-1-13, "报警日志不存在");

    ErrorCode ALERT_RULES_NOT_EXISTS = new ErrorCode(1-1-1-1-14, "报警规则不存在");

    ErrorCode SYS_LOG_NOT_EXISTS = new ErrorCode(1-1-1-1-15, "系统日志不存在");

    ErrorCode CUSTOM_OID_NOT_EXISTS = new ErrorCode(1-1-1-1-16, "自定义OID不存在");


    ErrorCode OTHER_OID_NOT_EXISTS = new ErrorCode(1-1-1-1-17, "补充OID不存在");

}
